﻿import request from '/@/utils/request';
enum Api {
  AddPatProduct = '/api/patProduct/add',
  DeletePatProduct = '/api/patProduct/delete',
  UpdatePatProduct = '/api/patProduct/update',
  GetPatProductPage = '/api/patProduct/page',
}

// 增加PatProductService
export const addPatProduct = (params?: any) =>
	request({
		url: Api.AddPatProduct,
		method: 'post',
		data: params,
	});

// 删除PatProductService
export const deletePatProduct = (params?: any) => 
	request({
			url: Api.DeletePatProduct,
			method: 'post',
			data: params,
		});

// 编辑PatProductService
export const updatePatProduct = (params?: any) => 
	request({
			url: Api.UpdatePatProduct,
			method: 'post',
			data: params,
		});

// 分页查询PatProductService
export const getPatProductPageList = (params?: any) => 
	request({
			url: Api.GetPatProductPage,
			method: 'get',
			data: params,
		});


